import request from '@/utils/request'

export function apiOrderAdd(data: any) {
    return request.post({ url: '/order/add', data }, { isAuth: true })
}

/**
 * @description 获取列表
 * @return { Promise }
 */
export function getOrderList(data: Record<string, any>) {
    return request.get({ url: '/order/lists', data: data })
}
